﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Test.DomainModel.Entities;
using Test.DomainModel.Roles;
using EnterApp.Core.DomainModel;

namespace Test.DomainModel.Services
{
    public interface ILibraryService
    {
        /// <summary>
        /// 将某本书借给某人
        /// </summary>
        void LendBook(Book book, IBorrower borrower);
        /// <summary>
        /// 接收已归还的书
        /// </summary>
        void ReceiveReturnedBook(Book book, IBorrower borrower);
        /// <summary>
        /// 图书入库
        /// </summary>
        void StoreBook(Book book, int count, string location);
        /// <summary>
        /// 提供某本书的库存信息
        /// </summary>
        BookStoreInfo GetBookStoreInfo(UniqueId bookId);
    }
}
